From: Lars Hansen Date: Fri, 7 May 2004 17:58:24 +0000 (+0000) Subject: (desktop-buffer-mode-handlers): Fix docstring. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~22663 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ffa864257589f04fd2dfa947619a9fd330aeff1c;p=emacs.git (desktop-buffer-mode-handlers): Fix docstring. --- diff --git a/lisp/desktop.el b/lisp/desktop.el index ce9d0c9d645..b4600aa8c5b 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -289,16 +289,14 @@ DESKTOP-BUFFER-MISC.") (Info-mode . Info-restore-desktop-buffer)) "Alist of major mode specific functions to restore a desktop buffer. Functions are called by `desktop-read'. List elements must have the form -\(MAJOR-MODE . FUNCTION). +\(MAJOR-MODE . RESTORE-BUFFER-FUNCTION). Buffers with a major mode not specified here, are restored by the default handler `desktop-restore-file-buffer'. -Handlers are called with parameters +Handlers are called with argument list - desktop-buffer-file-name - desktop-buffer-name - desktop-buffer-misc + (BUFFER-FILE-NAME BUFFER-NAME DESKTOP-BUFFER-MISC) Furthermore, they may use the following variables: